﻿using System.Web;

namespace Entities
{
    public sealed class Candidate : Person
    {
        public int number { get; set; }
        public HttpPostedFile picture { get; set; }
        public string nameSQLTable { get; set; }
        public string office { get; set; }
        public string pictureString { get; set; }
        public string nameSQLProcedure { get; set; }
        public int votingId { get; set; }

        public Candidate()
            : base()
        {

            number = 0;
            nameSQLTable = string.Empty;
            office = string.Empty;
            pictureString = string.Empty;
            nameSQLProcedure = string.Empty;
            votingId = 0;
        }
    }
}
